<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.List"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Public feed</title>
</head>
<body>

<%-- 	<c:out value="${fn:length(feed)}" /> --%>

	<table border=1>

		<c:forEach var="post" items="${feed}">
			<tr>
				<td>${post.date}</td>
				<td>${post.title}</td>
				<td>${post.html.value}</td>
				<td>${post.markdown.value}</td>
			</tr>
		</c:forEach>

	</table>
</body>

</body>
</html>